package com.zstu.mall.dao;

import com.zstu.mall.common.BaseRepository;
import com.zstu.mall.entity.UserOrder;

import java.util.List;

/**
 * @author     : wuyc
 * @description: UserOrderDao
 * @date       : Created in 2019/11/24
 */
public interface UserOrderDao extends BaseRepository<UserOrder, String> {

    /**
     * 根据订单Id查询
     * @param orderId
     * @return
     */
    List<UserOrder> findByOrderId(String orderId);

}
